package org.erp.store.domain.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/**
 * 库存日志(InventoryLog)表实体类
 *
 * @author dingding
 * @since 2025-11-12 10:24:11
 */
@SuppressWarnings("serial")
@Data
public class InventoryLog  {
    //logId
    private Long id;
    //库存id
    private String productCode;
    //事件类型
    private String eventType;
    //事件时间
    private Date eventDate;
    //阶段之前
    private String stageBefore;
    //阶段之后
    private String stageAfter;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //创建人
    private String createBy;
    //备注
    private String remark;

    private String idempotencyKey;

    //操作人ID
    private Long operateId;
    //操作人
    private String operateName;



}

